
package mytomcat.dto;

/**
 * <ul>
 * <li>Title: -ServletInfo</li>
 * <li>Description: TODO </li>
 * <li>Copyright: Copyright (c) 2018</li>
 * <li>Company: /</li>
 * </ul>
 *
 * @author swc
 * @version V1.0
 * @date 2020/5/29 0029 下午 16:09
 */
public class ServletInfo {

    //处理的servlet类名
    private String className;

    //对应的视图名称
    private String viewName;


    //对应的视图前缀
    private String viewPrefix;

    //对应的视图后缀
    private String viewSuffix;

    //对应的访问的url
    private String url;

    //请求的内容类型 text/html application/javascript text/css  application/json
    private String contentType="text/html";

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getViewName() {
        return viewName;
    }

    public void setViewName(String viewName) {
        this.viewName = viewName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getViewPrefix() {
        return viewPrefix;
    }

    public void setViewPrefix(String viewPrefix) {
        this.viewPrefix = viewPrefix;
    }

    public String getViewSuffix() {
        return viewSuffix;
    }

    public void setViewSuffix(String viewSuffix) {
        this.viewSuffix = viewSuffix;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }
}
